package com.hdoit.kylin.logical.group.model;

import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import javax.persistence.Transient;

import com.tennetcn.common.message.ModelBase;

/**
 * @author luozhicheng
 * @email
 * @createtime 2017年07月18日 20:05:49
 * @comment
 */
@Entity
@Table(name = "data_group")
public class Group extends ModelBase {
	
	// 课题组Id
	@Id
	@Column(name = "groupId")
	private String groupId;
	
	// 课题组名
	@Column(name = "groupName")
	private String groupName;
	
	// 创建者Id
	@Column(name = "createId")
	private String createId;
	
	// 创建者
	@Column(name = "createName")
	private String createName;
	
	// 负责人名
	@Column(name = "dutyId")
	private String dutyId;
	
	//所有项目名
	@Transient
	private List<String> projectsName;

	// 创建时间
	@Column(name = "createDate")
	private Date createDate;
	
	// 课题描述
	@Column(name = "comments")
	private String comments;
	
	//学院id
	@Column(name = "academyId")
	private String academyId;

	@Transient
	private String schoolId;
	
	@Transient
	private String schoolName;
	
	@Transient
	private String academyName;
	
	@Transient
	private String dutyName;
	
	
	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public List<String> getProjectsName() {
		return projectsName;
	}

	public void setProjectsName(List<String> projectsName) {
		this.projectsName = projectsName;
	}


	public String getDutyId() {
		return dutyId;
	}

	public void setDutyId(String dutyId) {
		this.dutyId = dutyId;
	}

	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}



	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getAcademyName() {
		return academyName;
	}

	public void setAcademyName(String academyName) {
		this.academyName = academyName;
	}

	public String getAcademyId() {
		return academyId;
	}

	public void setAcademyId(String academyId) {
		this.academyId = academyId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getCreateId() {
		return this.createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public String getCreateName() {
		return this.createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

}
